/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.tms.module.enquiry.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.tenant.mp.TenantEntity;
import org.springblade.tms.global.entity.TimeInterval;

/**
 * 询价单实体类
 *
 * @author Blade
 * @since 2022-04-15
 */
@Data
@TableName("tm_enquiry")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Enquiry对象", description = "询价单")
public class TMEnquiry extends TenantEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 询价单编号（外部系统）;询价单编号（外部系统）
     */
    @ApiModelProperty(value = "询价单编号（外部系统）;询价单编号（外部系统）")
    private String fagrmntid044;
    /**
     * 询价描述;询价描述（外部系统）
     */
    @ApiModelProperty(value = "询价描述;询价描述（外部系统）")
    private String fagrmntid044Text;
    /**
     * 询价有效期自
     */
    @ApiModelProperty(value = "询价有效期自")
    private LocalDateTime rfqStart;
    /**
     * 询价有效期至;询价有效期至    超出询价有效期，此单未完成，此单作废
     */
    @ApiModelProperty(value = "询价有效期至;询价有效期至    超出询价有效期，此单未完成，此单作废")
    private LocalDateTime rfqEnd;
    /**
     * 询价响应截止日期;超出响应截止日期承运商未操作报价，此单作废
     */
    @ApiModelProperty(value = "询价响应截止日期;超出响应截止日期承运商未操作报价，此单作废")
    private LocalDateTime responseEnd;
    /**
     * 货运协议有效期自
     */
    @ApiModelProperty(value = "货运协议有效期自")
    private LocalDateTime validityStartTs;
    /**
     * 货运协议有效期至
     */
    @ApiModelProperty(value = "货运协议有效期至")
    private LocalDateTime validityEndTs;

    /**
     * 承运商ID
     */
    @ApiModelProperty(value = "承运商ID")
    private String buPartner;
    /**
     * 承运商名称
     */
    @ApiModelProperty(value = "承运商名称")
    private String partyName;
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;
    /**
     * 询价单状态
     */
    @ApiModelProperty(value = "询价单状态")
    private String enquiryStatus;


}
